/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ecom.entity;

import exceptions.AccountException;
import java.io.Serializable;
import java.util.Set;

/**
 *
 * @author François
 */
public interface AccountRemote extends Serializable {
    
    public void deposit(double amount);
    
    public double withdraw(double amount) throws AccountException;
    
    public double getBalance();
    
    public String getIban();

    public void setIban(String iban);

    public double getSolde();

    public void setSolde(double solde);

    public Set<CommandeRemote> getCommandes();

    public void setCommandes(Set<CommandeRemote> commandes);
    
    public String getId();

    public void setId(String id);

    public String getMotDePasse();

    public void setMotDePasse(String mdp);

    
}
